package jike.demo24;

import java.time.LocalDate;
import java.util.Calendar;
import java.util.Date;

/**
 * @param
 * @author oyz
 * @version 1.0.4
 * @description: 积分实体类
 * @date 2023/4/6 22:10
 */
public class Credit {
    private  int userId;

    private  int channelId;

    private  int eventId;

    private  int credit;

    private LocalDate createTime;

    private Date expiredTime;

    public Credit(int userId, int channelId, int eventId, int credit, Date expiredTime) {
        this.userId = userId;
        this.channelId = channelId;
        this.eventId = eventId;
        this.credit = credit;
        this.createTime = LocalDate.now();
        this.expiredTime = expiredTime;
    }




}
